<?php

namespace Modules\Edu\Http\Requests;

use Illuminate\Foundation\Http\FormRequest;

class SignRequest extends FormRequest
{

    public function rules()
    {
        return [
            'content' => ['required', 'between:6,100'],
            'mood' => ['required']

        ];
    }

    public function messages()
    {
        return ['mood.required' => '请选择签到心情'];
    }

    public function authorize()
    {
        return true;
    }
}
